package com.jxdinfo.hussar.example.mes.md.domain;

import com.jxdinfo.hussar.example.common.annotation.Excel;
import com.jxdinfo.hussar.example.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 产线管理对象 md_workstation_line
 *
 * @author 常宝坤
 * @date 2024-04-11
 */
public class MdWorkstationLine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 生产线ID */
    private Long lineId;

    /** 生产线编码 */
    @Excel(name = "生产线编码")
    private String postCode;

    /** 生产线名称 */
    @Excel(name = "生产线名称")
    private String postName;

    /** 预留字段1 */
    @Excel(name = "预留字段1")
    private String attr1;

    /** 预留字段2 */
    @Excel(name = "预留字段2")
    private String attr2;

    /** 预留字段3 */
    @Excel(name = "预留字段3")
    private Long attr3;

    /** 预留字段4 */
    @Excel(name = "预留字段4")
    private Long attr4;

    /** 所在车间ID */
    @Excel(name = "所在车间ID")
    private Long workshopId;

    /** 所在车间名称 */
    @Excel(name = "所在车间名称")
    private String workshopName;

    /** 所在车间编码 */
    @Excel(name = "所在车间编码")
    private String workshopCode;

    /** 所属工作站ID */
    @Excel(name = "所属工作站ID")
    private Long workstationId;

    /** 所属工作站编码 */
    @Excel(name = "所属工作站编码")
    private String workstationCode;

    /** 所属工作站名称 */
    @Excel(name = "所属工作站名称")
    private String workstationName;

    public void setLineId(Long lineId)
    {
        this.lineId = lineId;
    }

    public Long getLineId()
    {
        return lineId;
    }
    public void setPostCode(String postCode)
    {
        this.postCode = postCode;
    }

    public String getPostCode()
    {
        return postCode;
    }
    public void setPostName(String postName)
    {
        this.postName = postName;
    }

    public String getPostName()
    {
        return postName;
    }
    public void setAttr1(String attr1)
    {
        this.attr1 = attr1;
    }

    public String getAttr1()
    {
        return attr1;
    }
    public void setAttr2(String attr2)
    {
        this.attr2 = attr2;
    }

    public String getAttr2()
    {
        return attr2;
    }
    public void setAttr3(Long attr3)
    {
        this.attr3 = attr3;
    }

    public Long getAttr3()
    {
        return attr3;
    }
    public void setAttr4(Long attr4)
    {
        this.attr4 = attr4;
    }

    public Long getAttr4()
    {
        return attr4;
    }
    public void setWorkshopId(Long workshopId)
    {
        this.workshopId = workshopId;
    }

    public Long getWorkshopId()
    {
        return workshopId;
    }
    public void setWorkshopName(String workshopName)
    {
        this.workshopName = workshopName;
    }

    public String getWorkshopName()
    {
        return workshopName;
    }
    public void setWorkshopCode(String workshopCode)
    {
        this.workshopCode = workshopCode;
    }

    public String getWorkshopCode()
    {
        return workshopCode;
    }
    public void setWorkstationId(Long workstationId)
    {
        this.workstationId = workstationId;
    }

    public Long getWorkstationId()
    {
        return workstationId;
    }
    public void setWorkstationCode(String workstationCode)
    {
        this.workstationCode = workstationCode;
    }

    public String getWorkstationCode()
    {
        return workstationCode;
    }
    public void setWorkstationName(String workstationName)
    {
        this.workstationName = workstationName;
    }

    public String getWorkstationName()
    {
        return workstationName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("lineId", getLineId())
            .append("postCode", getPostCode())
            .append("postName", getPostName())
            .append("remark", getRemark())
            .append("attr1", getAttr1())
            .append("attr2", getAttr2())
            .append("attr3", getAttr3())
            .append("attr4", getAttr4())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("workshopId", getWorkshopId())
            .append("workshopName", getWorkshopName())
            .append("workshopCode", getWorkshopCode())
            .append("workstationId", getWorkstationId())
            .append("workstationCode", getWorkstationCode())
            .append("workstationName", getWorkstationName())
            .toString();
    }
}
